<%
    if(session.getAttribute("KhachHang") == null){
        response.sendRedirect("dangnhap.jsp");
        return;
    }
%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib uri="/struts-tags" prefix="s" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>ĐỔI MẬT KHẨU</title>
    </head>
    <body style="background-color: #0099ff;">
        <table style="margin-top: 250px;margin-left: 40%;">
             <tr>
                <td colspan="2">
                    <h1>Đổi mật khẩu</h1>
                </td>
            </tr>
            <tr>
                <td>
                    <s:form action="DoiMatKhau"  method = "POST">
                        <s:textfield name="matkhaucu" label="Mật khẩu cũ" maxLength="50"/>
                        <s:textfield name="matkhaumoi" label="Mật khẩu mới" maxLength="50"/>
                        <s:textfield name="nlmatkhaumoi" label="Nhập lại mật khẩu mới" maxLength="50"/>
                        <s:submit name="OK" value="Đổi mật khẩu" method="execute" />
                    </s:form>
                </td>

            </tr>
            <tr>
                <td><font style="font-weight: bold;"><a href="index.jsp">Trang Chủ</a></font>
            </tr>
            <tr>
                <td><font style="font-weight: bold;"><s:actionerror /></font></td>
            </tr>

        </table>
    </body>
</html>
